@layout("/common/_form.html",{js:["/assets/fileRun/fileRun_add.js"],plugins:["ue"]}){

<form class="layui-form" id="positionForm" lay-filter="positionForm">
    <div class="layui-fluid" style="padding-bottom: 75px;">
        <div class="layui-card">
            <div class="layui-card-body">
                <div class="layui-form-item layui-row">
                    <input name="fId" type="hidden"/>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">项目名称<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="fName " name="fName" placeholder="请输入项目名称" type="text" class="layui-input"
                                   lay-verify="required" required/>
                        </div>
                    </div>

                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">项目类别<span style="color: red;">*</span></label></label>
                        <div class="layui-input-block">
                            <select name="category" lay-verify="" id="category">
                                <option value="">请选择项目类别</option>
                            </select>
                        </div>
                    </div>

                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">项目摘要<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <textarea id="fAbstracts"  name="fAbstracts" placeholder="请输入关键字" type="text/plain" class="layui-textarea" lay-verify="required"></textarea>
                        </div>
                    </div>

                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">技术标签<span style="color: red;">*</span></label></label>
                        <div class="layui-input-block" id="taglist">
                        </div>
                    </div>

                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">源码文件<span style="color: red;">*</span></label></label>
                        <div class="layui-input-block">
                            <input id="fUrl" name="fUrl" type="hidden" class="layui-input"/>
                            <div style="float: left;">
                                <button type="button" class="layui-btn layui-btn-sm" id="fileBtn"><i class="layui-icon"></i>选择文件
                                </button>
                            </div>
                            <div style="float: left;">
                                <span class="layui-inline layui-upload-choose" style="padding: 4px 10px;"
                                      id="fileNameTip"></span>
                            </div>
                        </div>
                    </div>
<!--                    <div class="layui-inline layui-col-md12">-->
<!--                        <label class="layui-form-label">图片文件<span style="color: red;">*</span></label></label>-->
<!--                        <div class="layui-upload">-->
<!--                            <input id="imagesUrl" name="imagesUrl" type="hidden" class="layui-input"/>-->
<!--                            <button type="button" class="layui-btn layui-btn-sm" id="filesBtn">-->
<!--                                <i class="layui-icon"></i>选择图片-->
<!--                            </button>-->
<!--                            <blockquote class="layui-elem-quote layui-quote-nm" style="margin-top: 10px;">-->
<!--                                <div class="layui-upload-list" id="demo2"></div>-->
<!--                            </blockquote>-->
<!--                        </div>-->
<!--                    </div>-->
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">项目内容<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <script id="container" name="fContent" type="text/plain"></script>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <div class="form-group-bottom text-center">
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
        <button type="reset" class="layui-btn layui-btn-primary" ew-event="closeDialog">&emsp;取消&emsp;</button>
    </div>
</form>
@}